package com.hqyj.service;


import com.hqyj.pojo.Department;

import java.util.Map;

public interface DepartmentService {
    Map<String,Object> selectAll(int pageNum, int pageSize, String departmentName);
    //插入
    Map<String,Object> inserDepartment(Department department);
//    String insertDepartment(Department department);
    //删除
    Map<String,Object> deleteDepartment(String depatmentName);
    //修改
    Map<String,Object> updateDepartment(Department department);
    //获取所有部门
    Map<String,Object> getAll();
}
